﻿using Core.Entities;
using Core.Enums;
using Core.Interfaces;
using Infrastructure.Data;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Infrastructure.Repositories
{
    public class CustomerRepository : GenericRepository<Customer>, ICustomerRepository
    {
        private readonly DbSet<Customer> customers;
        public CustomerRepository(ApplicationDbContext context, Func<CacheTech, ICacheService> cacheService) : base(context, cacheService)
        {
            customers=context.Customers;
        }
    }
}
